home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / knowhow4 / blk.h < prev    next >
C/C++ Source or Header  |  1994-10-10  |  634b  |  27 lines

  1. // BLK.H    Bl with additional Elements. Prototype of user-defined
  2. //          objects.
  3.  
  4. #ifndef __BLOCK_H_
  5. #define __BLOCK_H_
  6.  
  7. #include "bl.h"
  8.  
  9. class Block : public Bl
  10.     {
  11.     public:
  12.     Element* up_element;
  13.     Element* dn_element;
  14.     Element* pg_up_element;
  15.     Element* pg_dn_element;
  16.         Element* left_element;
  17.         Element* right_element;
  18.  
  19.     virtual void rearrange();
  20.  
  21.         Block(rect coord, char* fName = "", char* h = "", int s = 0,
  22.         int res = 0, BORDERS b_type = SHOW_BORDER,
  23.         BORDERS hdr_b_type = SHOW_BORDER,
  24.         int pat = 0, int hdr_pat = 0, int elem_pat = 0);
  25.     };
  26.  
  27. #endif __BLOCK_H_